package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author wjming
 * @ClassName: JointControlRelationDO
 * @Description: 联控关系信息
 * @Date 2021-07-08 13:24
 */
@Data
@TableName(value = "`tbl_joint_control_relation`")
public class JointControlRelationDO extends BaseDoClass {
    /**
     * 联控主设备id
     */
    @TableField(value = "`start_device_id`")
    private String startDeviceId;
    /**
     * 网关id
     */
    @TableField(value = "`gateway_id`")
    private String gateWayId;

    /**
     * 联控从设备id
     */
    @TableField(value = "`end_device_id`")
    private String endDeviceId;

    @TableField(value = "`start_device_mac`")
    private String startDeviceMac;

    @TableField(value = "`end_device_mac`")
    private String endDeviceMac;

    @TableField(value = "`index_id`")
    private Integer indexId;

    @TableField(value = "`start_device_num`")
    private String startDeviceNum;

    @TableField(value = "`end_device_num`")
    private String endDeviceNum;

    @TableField(exist = false)
    private String productType;

    @TableField(exist = false)
    private String startDeviceName;

    @TableField(exist = false)
    private String endDeviceName;


}
